package com.tianfeng.huayi.mapper;

import com.tianfeng.huayi.entity.RepairRecord;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 报修记录Mapper接口
 * 
 * @author ruoyi
 * @date 2024-01-16
 */
@Mapper
public interface RepairRecordMapper {
    /**
     * 查询报修记录
     * 
     * @param recordId 报修记录主键
     * @return 报修记录
     */
    public RepairRecord selectRepairRecordByRecordId(Long recordId);

    /**
     * 查询报修记录列表
     * 
     * @param repairRecord 报修记录
     * @return 报修记录集合
     */
    public List<RepairRecord> selectRepairRecordList(RepairRecord repairRecord);

    /**
     * 插入报修记录
     *
     * @param repairRecord 报修记录
     * @return 结果
     */
    public int insertRepairRecord(RepairRecord repairRecord);


}
